<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" media="all" href="layui/css/layui.css">
<script src="layui/layui.js"></script>
</head>
<body>
<script>
layui.config({base:'module/',version:'2019051101'}).extend({test:'test'});

layui.use(['test'], function(){
    var test = layui.test;
    test.show('This is test module');
});
</script>
</body>
</html>